var Colidiu : boolean;

function OnTriggerEnter (Other : Collider) 
{

	if(Other.gameObject.layer == 08)
	{
		Colidiu = true;
	}

}

function OnTriggerStay (Other : Collider) 
{

	if(Other.gameObject.layer == 08)
	{
		Colidiu = true;
	}

}

function OnTriggerExit (Other : Collider) 
{

	if(Other.gameObject.layer == 08)
	{
		Colidiu = false;
	}

}
